#include "drv_e53_bh1750.h"
#include "dev_e53_bh1750.h"

void 	bh1750_drv_init(void)
{
    bh1750_dev.e53_bh1750_init();
}

uint8_t  bh1750_drv_send_cmd(BH1750_MODE mode)
{
    return bh1750_dev.e53_bh1750_send_cmd(mode);
}

uint16_t bh1750_drv_read_dat(uint8_t *data)
{
    return bh1750_dev.e53_bh1750_read_dat(data);
}

e53_bh1750 bh1750_drv =
{
    .e53_bh1750_init 		 = 	bh1750_drv_init,
    .e53_bh1750_send_cmd =	bh1750_drv_send_cmd,
    .e53_bh1750_read_dat = 	bh1750_drv_read_dat,
};

